package cn.ronghuanet.user.mapper;

import cn.ronghuanet.user.domain.User;
import cn.ronghuanet.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lijie
 * @since 2023-08-25
 */
public interface UserMapper extends BaseMapper<User> {

    User loadByPhone(String phone);

    int loadByUsernameOrEmail(@Param("username") String username,@Param("email") String email);
}
